package com.ornate.platform.user.service;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.ornate.core.provider.ServiceSupportProvider;
import com.ornate.platform.user.dao.UserDAO;

@Service
public class UserService extends ServiceSupportProvider implements IUserService {

	private UserDAO userDAO;

	public void setUserDAO(UserDAO userDAO) {
		this.userDAO = userDAO;
	}

	public UserService() {
		System.out.println("\n\n\n" + UserService.class + " Inited...\n\n\n");
	}

	public List<Map<String, Object>> query() {
		return userDAO.query();
		//		return null;
	}

}
